Optimal. Leaf size=431 \[ -\frac{\sqrt{-a} d \sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}+\frac{\sqrt{-a} d \sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{4 b^{5/2}}+\frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{2 b^2}-\frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{2 b^2}-\frac{\sqrt{-a} d \cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{4 b^{5/2}}-\frac{\sqrt{-a} d \cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\cosh (c+d x)}{2 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.700681, antiderivative size = 431, normalized size of antiderivative = 1., number of steps used = 20, number of rules used = 8, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.421, Rules used = {5291, 5293, 3303, 3298, 3301, 5292, 2638, 5280} \[ -\frac{\sqrt{-a} d \sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}+\frac{\sqrt{-a} d \sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{4 b^{5/2}}+\frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{2 b^2}-\frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{2 b^2}-\frac{\sqrt{-a} d \cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+c\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{4 b^{5/2}}-\frac{\sqrt{-a} d \cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\cosh (c+d x)}{2 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5291
Rule 5293
Rule 3303
Rule 3298
Rule 3301
Rule 5292
Rule 2638
Rule 5280
Rubi steps
\begin{align*} \int \frac{x^3 \cosh (c+d x)}{\left (a+b x^2\right )^2} \, dx &=-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\int \frac{x \cosh (c+d x)}{a+b x^2} \, dx}{b}+\frac{d \int \frac{x^2 \sinh (c+d x)}{a+b x^2} \, dx}{2 b}\\ &=-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\int \left (-\frac{\cosh (c+d x)}{2 \sqrt{b} \left (\sqrt{-a}-\sqrt{b} x\right )}+\frac{\cosh (c+d x)}{2 \sqrt{b} \left (\sqrt{-a}+\sqrt{b} x\right )}\right ) \, dx}{b}+\frac{d \int \left (\frac{\sinh (c+d x)}{b}-\frac{a \sinh (c+d x)}{b \left (a+b x^2\right )}\right ) \, dx}{2 b}\\ &=-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}-\frac{\int \frac{\cosh (c+d x)}{\sqrt{-a}-\sqrt{b} x} \, dx}{2 b^{3/2}}+\frac{\int \frac{\cosh (c+d x)}{\sqrt{-a}+\sqrt{b} x} \, dx}{2 b^{3/2}}+\frac{d \int \sinh (c+d x) \, dx}{2 b^2}-\frac{(a d) \int \frac{\sinh (c+d x)}{a+b x^2} \, dx}{2 b^2}\\ &=\frac{\cosh (c+d x)}{2 b^2}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}-\frac{(a d) \int \left (\frac{\sqrt{-a} \sinh (c+d x)}{2 a \left (\sqrt{-a}-\sqrt{b} x\right )}+\frac{\sqrt{-a} \sinh (c+d x)}{2 a \left (\sqrt{-a}+\sqrt{b} x\right )}\right ) \, dx}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \int \frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{\sqrt{-a}+\sqrt{b} x} \, dx}{2 b^{3/2}}-\frac{\cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \int \frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{\sqrt{-a}-\sqrt{b} x} \, dx}{2 b^{3/2}}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \int \frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{\sqrt{-a}+\sqrt{b} x} \, dx}{2 b^{3/2}}+\frac{\sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \int \frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{\sqrt{-a}-\sqrt{b} x} \, dx}{2 b^{3/2}}\\ &=\frac{\cosh (c+d x)}{2 b^2}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}-\frac{\sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}-\frac{\left (\sqrt{-a} d\right ) \int \frac{\sinh (c+d x)}{\sqrt{-a}-\sqrt{b} x} \, dx}{4 b^2}-\frac{\left (\sqrt{-a} d\right ) \int \frac{\sinh (c+d x)}{\sqrt{-a}+\sqrt{b} x} \, dx}{4 b^2}\\ &=\frac{\cosh (c+d x)}{2 b^2}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}-\frac{\sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}-\frac{\left (\sqrt{-a} d \cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right )\right ) \int \frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{\sqrt{-a}+\sqrt{b} x} \, dx}{4 b^2}+\frac{\left (\sqrt{-a} d \cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right )\right ) \int \frac{\sinh \left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{\sqrt{-a}-\sqrt{b} x} \, dx}{4 b^2}-\frac{\left (\sqrt{-a} d \sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right )\right ) \int \frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{\sqrt{-a}+\sqrt{b} x} \, dx}{4 b^2}-\frac{\left (\sqrt{-a} d \sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right )\right ) \int \frac{\cosh \left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{\sqrt{-a}-\sqrt{b} x} \, dx}{4 b^2}\\ &=\frac{\cosh (c+d x)}{2 b^2}-\frac{x^2 \cosh (c+d x)}{2 b \left (a+b x^2\right )}+\frac{\cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}+\frac{\cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}-\frac{\sqrt{-a} d \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right ) \sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}+\frac{\sqrt{-a} d \text{Chi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right ) \sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right )}{4 b^{5/2}}-\frac{\sqrt{-a} d \cosh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{4 b^{5/2}}-\frac{\sinh \left (c+\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}-d x\right )}{2 b^2}-\frac{\sqrt{-a} d \cosh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{4 b^{5/2}}+\frac{\sinh \left (c-\frac{\sqrt{-a} d}{\sqrt{b}}\right ) \text{Shi}\left (\frac{\sqrt{-a} d}{\sqrt{b}}+d x\right )}{2 b^2}\\ \end{align*}
Mathematica [C] time = 0.740256, size = 582, normalized size = 1.35 \[ \frac{a^{3/2} d \cosh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (\frac{\sqrt{a} d}{\sqrt{b}}-i d x\right )+a^{3/2} d \cosh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (i x d+\frac{\sqrt{a} d}{\sqrt{b}}\right )+2 i b^{3/2} x^2 \sinh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (\frac{\sqrt{a} d}{\sqrt{b}}-i d x\right )-2 i b^{3/2} x^2 \sinh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (i x d+\frac{\sqrt{a} d}{\sqrt{b}}\right )+\left (a+b x^2\right ) \text{CosIntegral}\left (-\frac{\sqrt{a} d}{\sqrt{b}}+i d x\right ) \left (2 \sqrt{b} \cosh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right )-i \sqrt{a} d \sinh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right )\right )+\left (a+b x^2\right ) \text{CosIntegral}\left (\frac{\sqrt{a} d}{\sqrt{b}}+i d x\right ) \left (i \sqrt{a} d \sinh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right )+2 \sqrt{b} \cosh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right )\right )+\sqrt{a} b d x^2 \cosh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (\frac{\sqrt{a} d}{\sqrt{b}}-i d x\right )+\sqrt{a} b d x^2 \cosh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (i x d+\frac{\sqrt{a} d}{\sqrt{b}}\right )+2 i a \sqrt{b} \sinh \left (c-\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (\frac{\sqrt{a} d}{\sqrt{b}}-i d x\right )-2 i a \sqrt{b} \sinh \left (c+\frac{i \sqrt{a} d}{\sqrt{b}}\right ) \text{Si}\left (i x d+\frac{\sqrt{a} d}{\sqrt{b}}\right )+2 a \sqrt{b} \cosh (c+d x)}{4 b^{5/2} \left (a+b x^2\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.095, size = 495, normalized size = 1.2 \begin{align*}{\frac{{d}^{2}{{\rm e}^{-dx-c}}a}{4\,{b}^{2} \left ( b{d}^{2}{x}^{2}+a{d}^{2} \right ) }}-{\frac{1}{4\,{b}^{2}}{{\rm e}^{{\frac{1}{b} \left ( d\sqrt{-ab}-cb \right ) }}}{\it Ei} \left ( 1,{\frac{1}{b} \left ( d\sqrt{-ab}+ \left ( dx+c \right ) b-cb \right ) } \right ) }-{\frac{1}{4\,{b}^{2}}{{\rm e}^{-{\frac{1}{b} \left ( d\sqrt{-ab}+cb \right ) }}}{\it Ei} \left ( 1,-{\frac{1}{b} \left ( d\sqrt{-ab}- \left ( dx+c \right ) b+cb \right ) } \right ) }+{\frac{da}{8\,{b}^{2}}{{\rm e}^{{\frac{1}{b} \left ( d\sqrt{-ab}-cb \right ) }}}{\it Ei} \left ( 1,{\frac{1}{b} \left ( d\sqrt{-ab}+ \left ( dx+c \right ) b-cb \right ) } \right ){\frac{1}{\sqrt{-ab}}}}-{\frac{da}{8\,{b}^{2}}{{\rm e}^{-{\frac{1}{b} \left ( d\sqrt{-ab}+cb \right ) }}}{\it Ei} \left ( 1,-{\frac{1}{b} \left ( d\sqrt{-ab}- \left ( dx+c \right ) b+cb \right ) } \right ){\frac{1}{\sqrt{-ab}}}}-{\frac{1}{4\,{b}^{2}}{{\rm e}^{{\frac{1}{b} \left ( d\sqrt{-ab}+cb \right ) }}}{\it Ei} \left ( 1,{\frac{1}{b} \left ( d\sqrt{-ab}- \left ( dx+c \right ) b+cb \right ) } \right ) }-{\frac{1}{4\,{b}^{2}}{{\rm e}^{-{\frac{1}{b} \left ( d\sqrt{-ab}-cb \right ) }}}{\it Ei} \left ( 1,-{\frac{1}{b} \left ( d\sqrt{-ab}+ \left ( dx+c \right ) b-cb \right ) } \right ) }+{\frac{{d}^{2}{{\rm e}^{dx+c}}a}{4\,{b}^{2} \left ( b{d}^{2}{x}^{2}+a{d}^{2} \right ) }}+{\frac{da}{8\,{b}^{2}}{{\rm e}^{{\frac{1}{b} \left ( d\sqrt{-ab}+cb \right ) }}}{\it Ei} \left ( 1,{\frac{1}{b} \left ( d\sqrt{-ab}- \left ( dx+c \right ) b+cb \right ) } \right ){\frac{1}{\sqrt{-ab}}}}-{\frac{da}{8\,{b}^{2}}{{\rm e}^{-{\frac{1}{b} \left ( d\sqrt{-ab}-cb \right ) }}}{\it Ei} \left ( 1,-{\frac{1}{b} \left ( d\sqrt{-ab}+ \left ( dx+c \right ) b-cb \right ) } \right ){\frac{1}{\sqrt{-ab}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.15299, size = 2099, normalized size = 4.87 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{3} \cosh \left (d x + c\right )}{{\left (b x^{2} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]